home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
os2
/
pmwtsmll.zip
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-01-18
|
633b
|
21 lines
/* Rexx by: David DuPre */
/* INSTALL.CMD */
/* Recreate the PM-WEATHER folder if it is accidentally deleted */
parse source one two w3
current=directory() /* Thanks to:Duane A. Chamblee 1/17/96 */
tgtdrv = substr(w3,1,2)
option = "update"
call RxFuncAdd 'SysCreateObject','RexxUtil','SysCreateObject'
/* add the PMWEATHER ICON */
Classname= 'WPProgram'
Title = 'WEATHER from the Internet'
Location = '<WP_DESKTOP>'
Setup = 'EXENAME='current'\PMWEATHR.EXE;OBJECTID=<PMWTHR>;STARTUPDIR='current';ICONFILE='current'\PMWEATHR.ICO'
result=SysCreateObject(classname,Title,Location,Setup,option)
RETURN 0